Since switching to property bindings/notifications, value changes
only happen on actual changes, so we cannot rely on them as the sole
source of updating the checked state.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2862>
this._levelButtons.get('off').visible = this.nLevels > 0;
this._levelButtons.get('high').visible = this.nLevels > 1;
this._levelButtons.get('low').visible = this.nLevels > 2;
+ this._syncChecked();
}
_syncChecked() {